package day240324.e1;

public class People {
    String name;
    private Animal pet;

    public People(String name) {
        this.name = name;
    }

    public void adopt(Animal pet) {
        this.pet = pet;
    }

}
